Adding File Reporting Specifications
To specify which fields will appear in reports for an additional file, press the F6=Add new key on the Work with File Reporting Specifications screen (shown in Working with File Reporting Specifications). The Add File Reporting Specification screen appears.
Add File Reporting Specification Type choices, press Enter. File . . . . . . . . . . DEMOPF Name Library . . . . . . . . SMZ1DTA Name Report ID (Data to output) 4 1=User select + Changed fields 2=Same. All fields on Add⁄Delete 4=Key fields + Changed fields 5=Same. All fields on Add⁄Delete 8=User select, 9=All fields Define data conversions . Y Y=Yes, N=No Define conversions to be made between internal and external representation. F3=Exit F4=Prompt F12=Cancel |
Enter the name of the file in the Filefield and the name of the library containing the file in the Library field. For each field, you can see a list of choices by pressing the F4=Prompt key.
The Report ID field indicates the fields that Safe Update lists in reports when a record in the file is changed. It can have these numeric values:
- 1: Reports contain user-selected fields and changed fields
- 2: Reports contain user-selected fields and changed fields. If a record is completely added or deleted, the report contains all its fields.
- 4: Reports contain key fields and changed fields.
- 5: Reports contain key fields and changed fields. If a record is completely added or deleted, the report contains all its fields.
- 8: Reports contain user-selected fields.
- 9: Reports contain all fields.
To define how data fields will be converted between internal and external representations, set the Define data conversions field to "Y" and press Enter. The Select Fields to Convert screen (shown in Selecting Fields to Convert) appears.
To save the field specifications and exit, press Enter. The Work with File Reporting Specifications screen reappears with the file added.
To exit without saving the field specifications, press the F3=Exit or F12=Cancel key. The Work with File Reporting Specifications screen reappears without adding the file.